package com.example.demo.entity;

import java.util.concurrent.Callable;

/**
 * @Description:
 * @author: fanfan
 * @date: 2019/3/27 14:29
 */
public class TaskCallable implements Callable<Task> {
    @Override
    public Task call() throws Exception {
//        System.out.println(Thread.currentThread().getName());
        return new Task(Thread.currentThread().getName());
    }
}
